package com.stars.system.monitor.mapper;

import java.util.List;
import com.stars.system.monitor.domain.Direct;

/**
 * directMapper接口
 * 
 * @author shuaibizhe
 * @date 2022-08-07
 */
public interface DirectMapper 
{
    /**
     * 查询direct
     * 
     * @param directId direct主键
     * @return direct
     */
    public Direct selectDirectByDirectId(Long directId);

    /**
     * 获取direct信息
     *
     * @param directId direct主键
     * @return 结果
     */
    public Boolean selectDirectInfo(Direct Direct);

    /**
     * 查询direct列表
     * 
     * @param Direct direct
     * @return direct集合
     */
    public List<Direct> selectDirectList(Direct Direct);

    /**
     * 新增direct
     * 
     * @param Direct direct
     * @return 结果
     */
    public int insertDirect(Direct Direct);

    /**
     * 修改direct
     * 
     * @param Direct direct
     * @return 结果
     */
    public int updateDirect(Direct Direct);

    /**
     * 删除direct
     * 
     * @param directId direct主键
     * @return 结果
     */
    public int deleteDirectByDirectId(Long directId);

    /**
     * 批量删除direct
     * 
     * @param directIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDirectByDirectIds(Long[] directIds);
}
